package interpreter;

public class RealResult {
	//public int C, P, L, M; // Parameters from the milestone
	public int []params;
	public static String []params_codes;
	public static String []params_names;
	public int N; // number of measurements
	
	// Throughput
	public double Tmean;
	public double TstdDev;
	
	public int confidence1percent;
	public int confidence2percent;
	
	public double confidence1Tmin;
	public double confidence1Tmax;
	public double confidence2Tmin;
	public double confidence2Tmax;
	
	// Average Response Time
	public double ARTmean;
	public double ARTstdDev;
	
	public double confidence1ARTmin;
	public double confidence1ARTmax;
	public double confidence2ARTmin;
	public double confidence2ARTmax;
	
	// Median Response Time
	public double MRTmean;
	public double MRTstdDev;
	
	public double confidence1MRTmin;
	public double confidence1MRTmax;
	public double confidence2MRTmin;
	public double confidence2MRTmax;
	
	public boolean matches(int []_params) {
		boolean result = true;
		if(_params.length != params.length) {
			return false;
		}
		for(int i=0; i<params.length; i++) {
			result = result && (_params[i]==0 || _params[i]==params[i]);
		}
		return result;
	}
}
